package util;

public class ConfigUtil {

	public static String dateFormat() {
		return "dd/MM/yyyy";
	}

	public static String dateTimeFormat() {
		return "dd/MM/yyyy HH:mm";
	}

	public static String visualDateTimeFormat() {
		return "dd/MM/yyyy 'at' HH:mm";
	}

	public static String timeFormat() {
		return "HH:mm";
	}

	public static char decimalSep() {
		return ',';
	}

	public static char thousandSep() {
		return '.';
	}

	public int decimals = 2;

	public static String numericFormat() {
		// // TODO Auto-generated method stub
		//
		// Formatter fmt = new Formatter();
		// //fmt.format("#$s#$s00", args);
		//
		// return null;

		return "#.00";
	}

	public static String numericFormat(int noOfDecimal) {
		String format = "#";
		if (noOfDecimal > 0) {
			format += ".";
		}
		for (int i = 0; i < noOfDecimal; i++) {
			format += "0";
		}
		return format;
	}

	public static final int projectListPageSize = 5;
	public static final int companyListPageSize = 20;
	public static final int employeeListPageSize = 20;
	public static final int unitListPageSize = 20;
	public static final int venueListPageSize = 20;
	public static final int checklistPageSize = 20;
	public static final int checklistItemPageSize = 20;
	public static final int quotationPageSize = 20;
	public static final int quotationListPageSize = 20;
	public static final int agendaPageSize = 20;
	public static final int agendaListPageSize = 20;
	

	public static final int DATE_PICKER_NUMBER_OF_MONTH = 2;
	public static final int DATE_TIME_PICKER_NUMBER_OF_MONTH = 2;

}
